package com.jfplugin.xsql;

import java.util.Arrays;
import java.util.HashMap;
import java.util.Map;

import junit.framework.TestCase;

public class JfinalTest1 extends TestCase{

	public void test1(){
		
		new XsqlPlugin("sql-config.xml").start();
		Map<String, Object> map = new HashMap<String, Object>();
		map.put("ids", Arrays.asList(1,2,3));
		SqlArgs sqlArgs = XsqlKit.getSqlArgs("a.sql1", map);
		
		System.out.println(sqlArgs);
		System.out.println(XsqlKit.getSqlArgs("a.sql2", map));
	}
	
}
